﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;

namespace 药品信息管理
{
    class getSqlConnection
    {
        string str_ConnectionString = "server=127.0.0.1;uid=sa;pwd=123;database=YKXT";
        SqlConnection G_Con;

        public SqlConnection GetCon()
        {
            G_Con = new SqlConnection(str_ConnectionString);
            G_Con.Open();
            return G_Con;
        }

    }
}
